import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Vuex from 'vuex'


//css
import './css/base.css'
import './fonts/iconfont.css'
//js
import routes from './js/routes.js'
import tools from './js/tools.js'
		

Vue.config.productionTip = false
Vue.prototype.tools=tools;
Vue.use(VueRouter);
Vue.use(ElementUI);
Vue.use(Vuex);
//路由
var router=new VueRouter({
  routes:routes,
//   mode:"history"
}) 

var app=new Vue({
	
	render: h => h(App),
	router:router,
}).$mount('#app')